//
//  MyDoctorViewController.m
//  WE
//
//  Created by 要帅气的生活 on 15/11/28.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "MyDoctorViewController.h"
#import "Size.h"
#import <Masonry.h>
@interface MyDoctorViewController ()

@property (nonatomic,strong) NSMutableArray *array;
@property (nonatomic,strong) UIView *On;


@end

@implementation MyDoctorViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"我的医生";
    
    [self viewON];
}
- (void)viewWillAppear:(BOOL)animated
{
    self.navigationController.navigationBar.hidden = NO;
    
}

-(void)viewON
{
    _On = [[UIView alloc] initWithFrame:CGRectMake(0, 0, WindowWidth, WindowHeight)];
    [self.view addSubview:_On];
    
    UILabel *label = [[UILabel alloc] init];
    [_On addSubview:label];
    label.text = @"暂无已报到的医生";
    label.textAlignment = 1;
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view.mas_top).with.offset(75);
        make.width.offset(WindowWidth);
        make.height.offset(35);
    }];
    
    UIImageView *img = [[UIImageView alloc] initWithFrame:CGRectMake(WindowWidth/4, 150*Height, WindowWidth/2, WindowHeight/7*3)];
    [_On addSubview:img];
    img.backgroundColor = [UIColor redColor];
    
    UILabel *explain = [[UILabel alloc] initWithFrame:CGRectMake(WindowWidth/8, 165*Height+WindowHeight/7*3, WindowWidth/4*3, 25)];
    explain.text = @"你可以通过医生主页上的患者报道申请成";
    explain.alpha = 0.5;
    explain.textAlignment = 1;
    [_On addSubview:explain];
    explain.font = [UIFont systemFontOfSize:15];
    
    UILabel *explaintwo = [[UILabel alloc] initWithFrame:CGRectMake(WindowWidth/7, 193*Height+WindowHeight/7*3, WindowWidth/7*5, 25)];
    explaintwo.text = @"为医生的患者，并跟他反馈交流病情";
    explaintwo.alpha = 0.5;
    explaintwo.textAlignment = 1;
    [_On addSubview:explaintwo];
    explaintwo.font = [UIFont systemFontOfSize:15];
}
@end
